From: Robert Lipe Date: Sun, 27 Dec 2015 21:48:45 +0000 (-0600) Subject: Update mkchanges to deal with Git/Github. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~10^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=6d39e29b3a964fb85e72a8b54281e9581231977e;p=gpsbabel.git Update mkchanges to deal with Git/Github. --- diff --git a/tools/mkchanges b/tools/mkchanges index 13c056ffd..db54175fa 100644 --- a/tools/mkchanges +++ b/tools/mkchanges @@ -1,6 +1,10 @@ -# cvsps -u +# GitHub version lets it render something prewtty close to HTML. (Still have to manually fix <, >, and other entities...) +git log --date=short --pretty=format:"%n %cd%n %s %b%n" -svn log | awk ' +exit 0 + +# Subversion version. +git log | awk ' skip = 0; /^r[0-9].*lines?$/ { if (count > 0) printf " \n\n" @@ -24,6 +28,7 @@ skip = 0; exit 0 +# CVS version. cvsps $* | awk ' /^Date:/ { logt = "";